package com.common.base;

import lombok.Data;

/**
 * @author: madSong
 * @since: 2024/7/11
 * @description:
 */
@Data
public class BaseQuery {
    private int pageNum = 1;
    private int pageSize = 10;
    private String keyword;

    public int getStart(){
        return (pageNum - 1) * pageSize;
    }
}
